﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KXmlUIControl
{
    public class XmlFormObject : XmlControlBase
    {
        private string _defaultLan = "zh-CN";
        public string LanguageCode 
        {
            get
            {
                return _defaultLan;
            }
            set 
            {
                _defaultLan = value;
            }
        }

        private bool _voiceEnabled = false;
        public bool VoiceEnabled
        {
            get
            {
                return _voiceEnabled;
            }
            set
            {
                _voiceEnabled = value;
            }
        }

        private string _voiceFileName = "";
        public string VoiceFileName
        {
            get
            {
                return _voiceFileName;
            }
            set
            {
                _voiceFileName = value;
            }
        }

        public XmlFormObject()
            : base()
        {

        }

        public override string ToXMLString()
        {
            return "";
        }

        public override Control ToControl(object parent)
        {
            return null;
        }
    }
}
